package com.myleo;

import java.util.UUID;

/**
 * @author leo
 */
public class Person {
    public Person(){
        this.id = UUID.randomUUID().toString();
    }
    public Person(String name, int age, int sex) {
        this.name = name;
        this.age = age;
        this.id = UUID.randomUUID().toString();
        this.sex = sex;
    }

    private String id;
    private String name;
    private int age;
    private int sex;

    public String getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public int getAge() {
        return this.age;
    }

    public int getSex() {
        return sex;
    }

}
